home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #4 / K-CD-4-2002.ISO / Empire Earth / EEDemo.exe / Disk1 / data.ssa / unit ai scripts_avoid.tai < prev    next >
Encoding:
Text File  |  2001-09-29  |  419 b   |  29 lines

  1. //
  2. // Avoid
  3. //
  4. // Behaviors:
  5. //
  6. //        Run away from any enemy units in LOS or attacking
  7. //        Never Attack
  8. //
  9. //    Notes:
  10. //
  11. //    Known Problems:
  12. //
  13.  
  14.  
  15. #include("Generic Movement.tai")
  16.  
  17. // we shouldn't ever get into this state (avoid units don't attack), but if we do, provide an exit
  18. CheckRange
  19. {
  20.     AlwaysTrue true(Idle)
  21. }
  22.  
  23. #include("Generic Death.tai")
  24.  
  25. Idle
  26. {
  27.     TakingLightDamage true(FleeDanger)
  28. }
  29.